import { createApp } from 'vue'
import App from './App.vue'
import store from './components/vuex的基本使用/Test/store'
import useFormatTime from './components/vue自定义指令/06.自定义指令的小案例/02.全局实现'
import usePlugins from './components/vue中注册插件/注册插件'
// import router from './components/vue-router的使用/99.vue开发学习/router'

const app = createApp(App)
// app.directive('focusG', {
//   mounted(el, bindings, vnode, preVnode) {
//     console.log('全局指令组件挂载1', el)
//     console.log('全局指令组件挂载2', bindings)
//     console.log('全局指令组件挂载3', vnode)
//     console.log('全局指令组件挂载4', preVnode)
//     el.focus()
//   },
// })
// useFormatTime(app)
// app.use(usePlugins)
// 安装路由对象
// app.use(router)
app.use(store)
app.mount('#app')
